DATA SEGMENT
	BUF1 DB 'HELLO WORLD'
	COUNT EQU $-BUF1
	BUF2 DB 20 DUP (?)
DATA ENDS

STACK SEGMENT STACK
	DB 20 DUP (?)
STACK ENDS

CODE SEGMENT
ASSUME DS:DATA, SS:STACK, CS:CODE
START:
	MOV AX, DATA
	MOV DS, AX
	MOV SI, OFFSET BUF1
	MOV DI, OFFSET BUF2
	MOV CX, COUNT
LI:
	MOV AL, [SI]
	MOV [DI], AL
	INC SI
	INC DI
	DEC CX
	JNZ LI
EXIT:
	MOV AH, 4CH
	INT 21H
CODE ENDS
END START
